package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class GetMAx {
    public static void main(String[] args) {

        Scanner input=new Scanner(System.in);
        System.out.println("input a and b:");
        double a=input.nextDouble();
        int b=input.nextInt();
        double max=a>b?a:b;

        System.out.println(max);
    }
}
